#ifndef  _SKIP_DATA_H_
#define  _SKIP_DATA_H_
#include "skip_conf.h"

typedef struct _data_desc data_desc;

data_desc* skipD_open(const char* file, int slot_size, int cache_size);
void skipD_close(data_desc* dp);
RECPOS skipD_write(data_desc* dp, slice* sl);
slice* skipD_read(data_desc* dp, RECPOS pos);
int skipD_del(data_desc* dp, RECPOS pos);

#endif
